<div class="row contentBox">
	<app-sidebar-system></app-sidebar-system>
	<app-product-type-tree (nodeSelect)="selectNode($event)" [showTitle]="showTitle" ></app-product-type-tree>
	<div class="contentArea_rightDiv">
		<div class="row txtTitle">

			<input type="text" class="input_style" placeholder="请输入产品分类名称" name="searchData" *ngIf="right['systemProductType']['query']" [(ngModel)]="searchData" (input)="changesearch()" (keyup.enter)="changesearch()">
			<span class="btn btn-search btn-blue" (click)="search()" *ngIf="right['systemProductType']['query']">检索</span>

			<!--<button class="btn btn-info btn-blue" data-toggle="modal" data-target="#add" *ngIf="right['systemProductType']['create']">新增</button>-->
			<!--<button class="btn btn-orange mat-button"-->
					<!--data-toggle="modal"-->
					<!--[disabled]="removeTableService?._isEmpty()"-->
					<!--data-target="#delete"-->
			<!--&gt;删除</button>-->
		</div>

		<!-- 表格 BEGIN -->
		<app-product-type-table #table
								[tableNumber]="tableNumber"
								(tabeListOutput)="ParentList($event)"
								(detailsOutput)="ParentDetails($event)"
								(isSelectFromTable)="isSelectFromTableHandler($event)"
		>
		</app-product-type-table>
		<!-- 表格 END -->

		<!-- 分页 BEGIN -->
		<app-pagination [getTotalItems]="this.table.totalItems" (isLoadTableFromPagination)="isLoadTableFromPaginationHandler($event)"></app-pagination>
		<!-- 分页 END -->
	</div>
</div>
<!--content  end-->

<!--新增弹窗 开始-->
<app-product-type-add (addOutput)="ParentAdd($event)" [productTypeCurrentId]="this.nodeSelect"></app-product-type-add>
<!--新增弹窗 结束-->

<!--编辑弹窗 开始-->
<app-product-type-edit [details]="details"  (editOutput)="ParentEdit($event)"></app-product-type-edit>
<!--编辑弹窗 结束-->

<!--详情窗口 开始-->
<app-product-type-details [details]="details"></app-product-type-details>
<!--详情窗口 结束-->

<!-- 删除 BEGIN -->
<app-product-type-delete (deleteOutput)="ParentDelete($event)"></app-product-type-delete>
<!-- 删除 END -->

